﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys.WMS.Entity;

/// <summary>
/// 库位主数据实体.
/// </summary>
[SugarTable("wms_base_warehouse_location", "库位主数据")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBaseWarehouseLocationEntity : CLDEntityBase
{

    /// <summary>
    /// 库位编码.
    /// </summary>
    [SugarColumn(ColumnName = "F_EnCode", ColumnDescription = "库位编码")]
    public string EnCode { get; set; }

    /// <summary>
    /// 库位名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_FullName", ColumnDescription = "库位名称")]
    public string FullName { get; set; }

    /// <summary>
    /// 库位描述.
    /// </summary>
    [SugarColumn(ColumnName = "F_Description", ColumnDescription = "库位描述")]
    public string Description { get; set; }

    /// <summary>
    /// 库位类型.
    /// </summary>
    [SugarColumn(ColumnName = "F_Type", ColumnDescription = "库位类型")]
    public string Type { get; set; }

    /// <summary>
    /// 所属仓库.
    /// </summary>
    [SugarColumn(ColumnName = "F_WarehouseId", ColumnDescription = "所属仓库")]
    public string WarehouseId { get; set; }

    /// <summary>
    /// 是否混放.
    /// </summary>
    [SugarColumn(ColumnName = "F_MixFlag", ColumnDescription = "是否混放")]
    public string MixFlag { get; set; }

    /// <summary>
    /// ERP对应关系.
    /// </summary>
    [SugarColumn(ColumnName = "F_ErpInvented", ColumnDescription = "ERP对应关系")]
    public string ErpInvented { get; set; }

    /// <summary>
    /// 最大容量.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaxQty", ColumnDescription = "最大容量")]
    public decimal MaxQty { get; set; }

    /// <summary>
    /// 最低安全库存.
    /// </summary>
    [SugarColumn(ColumnName = "F_MinStock", ColumnDescription = "最低安全库存")]
    public decimal MinStock { get; set; }

    /// <summary>
    /// 最高安全库存.
    /// </summary>
    [SugarColumn(ColumnName = "F_HighStock", ColumnDescription = "最高安全库存")]
    public decimal HighStock { get; set; }

    /// <summary>
    /// 容积.
    /// </summary>
    [SugarColumn(ColumnName = "F_Volume", ColumnDescription = "容积")]
    public decimal Volume { get; set; }

    /// <summary>
    /// 最大托盘数.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaxPallet", ColumnDescription = "最大托盘数")]
    public int? MaxPallet { get; set; }

    /// <summary>
    /// 是否锁定.
    /// </summary>
    [SugarColumn(ColumnName = "F_LockState", ColumnDescription = "是否锁定")]
    public string LockState { get; set; }

    /// <summary>
    /// 所属区域.
    /// </summary>
    [SugarColumn(ColumnName = "F_RegionId", ColumnDescription = "所属区域")]
    public string RegionId { get; set; }

    /// <summary>
    /// 行.
    /// </summary>
    [SugarColumn(ColumnName = "F_Row", ColumnDescription = "行")]
    public string Row { get; set; }

    /// <summary>
    /// 列.
    /// </summary>
    [SugarColumn(ColumnName = "F_Column", ColumnDescription = "列")]
    public string Column { get; set; }

    /// <summary>
    /// 库位条码.
    /// </summary>
    [SugarColumn(ColumnName = "F_Barcode", ColumnDescription = "库位条码")]
    public string Barcode { get; set; }

}